import request from '@/utils/request'

// 查询供应商费用单列表
export function listSettleFeeSheet(query) {
  return request({
    url: '/system/SettleFeeSheet/list',
    method: 'get',
    params: query
  })
}

// 查询供应商费用单详细
export function getSettleFeeSheet(id) {
  return request({
    url: '/system/SettleFeeSheet/' + id,
    method: 'get'
  })
}

// 新增供应商费用单
export function addSettleFeeSheet(data) {
  return request({
    url: '/system/SettleFeeSheet',
    method: 'post',
    data: data
  })
}

// 修改供应商费用单
export function updateSettleFeeSheet(data) {
  return request({
    url: '/system/SettleFeeSheet',
    method: 'put',
    data: data
  })
}

// 删除供应商费用单
export function delSettleFeeSheet(id) {
  return request({
    url: '/system/SettleFeeSheet/' + id,
    method: 'delete'
  })
}
